<%@page import="com.nba.bean.inherit.TeamInherit"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>NBA后台管理系统</title>
	<link rel="stylesheet" href="CSS/bghome.css">
	
</head>
<%
	if(session.getAttribute("name")==null){
		response.sendRedirect("login.jsp");
		return;
	}
%>
<body>
	<div class="box">
		<div class="top">
			<h1>NBA后台管理系统</h1>
		</div>
		<div class="bottom">
			<div class="bottom_left">
				<img src="images/nba-icon.webp">
				<ul>
					<li class="tmanage">球队管理</li>
					<li class="pmanage">球员管理</li>
					<li class="gmanage">赛程管理</li>
					<li class="trecord">球队数据</li>
					<li class="precord">球员数据</li>
					<li class="lhot">球员热区</li>
					<li class="lnew">新闻资讯</li>
					<li class="lvideo">视频锦集</li>
					<li class="limg">精彩图集</li>
					<li class="ladmin">用户管理</li>
				</ul>
			</div>
			<div class="bottom_right team">
				<div class="bottom_right_top">
					<div class = "search">
						<form action="SearchServlet.do" method="post">
							<input type="text" placeholder="请输入你要搜索的内容" name="teamKeyword">
							<input type="submit" value="搜索">
						</form>
					</div>
					<div class="add">
						<input type="button" value="添加">
						<input type="button" value="批量删除">
					</div>
				</div>
				<div class="show">
					<table>
						<tr class="checkAll">
							<td>
								<input type="checkbox" name="team" value="teamAll">
							</td>
							<td>球队</td>
							<td>城市</td>
							<td>队徽</td>
							<td>主教练</td>
							<td>球馆</td>
							<td>联盟</td>
							<td>分区</td>
							<td>操作</td>
						</tr>
						<c:forEach items="${team.data }" var="team" varStatus="status">
							<tr>
								<td><input type="checkbox" name="team" value="${team.teamId }"></td>
								<td title="${team.teamName}">${team.teamName}</td>
								<td title="${team.teamRegion}">${team.teamRegion}</td>
								<td title="${team.teamUrl}"><img src="${team.teamUrl}" class="img"></td>
								<td title="${team.teamCoach}">${team.teamCoach}</td>
								<td title="${team.teamStadium}">${team.teamStadium}</td>
								<td title="${team.unionName}">${team.unionName}</td>
								<td title="${team.partitionName}">${team.partitionName}</td>
								<td>
									<a href="teamModify.jsp?teamName=${team.teamName}&teamRegion=${team.teamRegion}&teamUrl=${team.teamUrl}&teamCoach=${team.teamCoach}&teamStadium=${team.teamStadium}&unionName=${team.unionName}&partitionName=${team.partitionName}&teamId=${team.teamId}">修改</a>
									<a href="TeamServlet.do?opt=0&teamId=${team.teamId}">删除</a>
								</td>
							</tr>
						</c:forEach>
					</table>
				</div>
				<div class="paging">
					<c:if test="${team.totalPageNum>0}">	
						<a href="SearchServlet.do?teamPageNum=1&teamPeyword=${param.teamPeyword}" class="home">首页</a>
					</c:if>
					<c:if test="${team.hasPrev}">
						<a href="SearchServlet.do?teamPageNum=${team.pageNum-1}&teamPeyword=${param.teamPeyword}" class="last">上一页</a>
					</c:if>
					<c:forEach begin="1" end="${team.totalPageNum}" varStatus="status">
						<c:if test="${team.pageNum eq status.count}">
							<a href="SearchServlet.do?teamPageNum=${status.count}&teamPeyword=${param.teamPeyword}" class="ahover">${status.count}</a>
						</c:if>
						<c:if test="${team.pageNum != status.count}">
							<a href="SearchServlet.do?teamPageNum=${status.count}&teamPeyword=${param.teamPeyword}">${status.count}</a>
						</c:if>
					</c:forEach>
					<c:if test="${team.hasNext}">
						<a href="SearchServlet.do?teamPageNum=${team.pageNum+1}&teamPeyword=${param.teamPeyword}" class="next">下一页</a>
					</c:if>
					<c:if test="${team.totalPageNum>0}">
						<a href="SearchServlet.do?teamPageNum=${team.totalPageNum}&teamPeyword=${param.teamPeyword}" class="end">尾页</a><br>
					</c:if>
				</div>
			</div>
			<div class="bottom_right player">
				<div class="bottom_right_top">
					<div class = "search">
						<form action="SearchServlet.do" method="post">
							<input type="text" placeholder="请输入你要搜索的内容" name="playerKeyword">
							<input type="submit" value="搜索">
						</form>
					</div>
					<div class="add">
						<input type="button" value="添加">
						<input type="button" value="批量删除">
					</div>
				</div>
				<div class="show">
					<table>
						<tr class="checkAll">
							<td>
								<input type="checkbox" name="player" value="playerAll">
							</td>
							<td>球员</td>
							<td>英文名</td>
							<td>头像</td>
							<td>全身照</td>
							<td>球队</td>
							<td>位置</td>
							<td>身高</td>
							<td>体重</td>
							<td>球号</td>
							<td>国籍</td>
							<td>生日</td>
							<td>选秀</td>
							<td>经验</td>
							<td>NBA前</td>
							<td>类型</td>
							<td>操作</td>
						</tr>
						<c:forEach items="${player.data }" var="player" varStatus="status">
							<tr>
							<td>
								<input type="checkbox" name="player" value="${player.playerId }">
							</td>
							<td title="${player.playerName}">${player.playerName}</td>
							<td title="${player.englishName}">${player.englishName}</td>
							<td><img src="${player.playerTitl}" class="img"></td>
							<td><img src="${player.playerBody}" class="img"></td>
							<td title="${player.teamName}">${player.teamName}</td>
							<td title="${player.playerPosition}">${player.playerPosition}</td>
							<td title="${player.playerHeight}">${player.playerHeight}</td>
							<td title="${player.playerWeight}">${player.playerWeight}</td>
							<td title="${player.playerNum}">${player.playerNum}</td>
							<td title="${player.playerNation}">${player.playerNation}</td>
							<td title="${player.playerDate}">${player.playerDate}</td>
							<td title="${player.playerDraft}">${player.playerDraft}</td>
							<td title="${player.playerExp}">${player.playerExp}</td>
							<td title="${player.playerBefore}">${player.playerBefore}</td>
							<td title="${player.typeName}">${player.typeName}</td>
							<td>
								<a href="playerModify.jsp?playerName=${player.playerName}&englishName=${player.englishName}&playerTitl=${player.playerTitl}&playerBody=${player.playerBody}&teamName=${player.teamName}&playerPosition=${player.playerPosition}&playerHeight=${player.playerHeight}&playerWeight=${player.playerWeight}&playerNum=${player.playerNum}&playerNation=${player.playerNation}&playerDate=${player.playerDate}&playerDraft=${player.playerDraft}&playerExp=${player.playerExp}&playerBefore=${player.playerBefore}&typeName=${player.typeName}&playerId=${player.playerId}">修改</a>
								<a href="playerServlet.do?opt=0&playerId=${player.playerId }">删除</a>
							</td>
							</tr>
						</c:forEach>
					</table>
				</div>
				<div class="paging">
					<c:if test="${player.totalPageNum>0}">
						<a href="SearchServlet.do?playerPageNum=1&playerKeyword=${param.playerKeyword}" class="home">首页</a>
					</c:if>
					<c:if test="${player.hasPrev}">
						<a href="SearchServlet.do?playerPageNum=${player.pageNum-1}&playerKeyword=${param.playerKeyword}" class="last">上一页</a>
					</c:if>
					<c:forEach begin="1" end="${player.totalPageNum}" varStatus="status">
						<c:if test="${player.pageNum eq status.count}">
							<a href="SearchServlet.do?playerPageNum=${status.count}&playerKeyword=${param.playerKeyword}" class="ahover">${status.count}</a>
						</c:if>
						<c:if test="${player.pageNum != status.count}">
							<a href="SearchServlet.do?playerPageNum=${status.count}&playerKeyword=${param.playerKeyword}">${status.count}</a>
						</c:if>
					</c:forEach>
					<c:if test="${player.hasNext}">
						<a href="SearchServlet.do?playerPageNum=${player.pageNum+1}&playerKeyword=${param.playerKeyword}" class="next">下一页</a>
					</c:if>
					<c:if test="${player.totalPageNum>0}">
						<a href="SearchServlet.do?playerPageNum=${player.totalPageNum}&playerKeyword=${param.playerKeyword}" class="end">尾页</a><br>
					</c:if>
				</div>
			</div>
			
			<div class="bottom_right game">
				<div class="bottom_right_top">
					<div class = "search">
						<form action="SearchServlet.do" method="post">
							<input type="text" placeholder="请输入你要搜索的内容" name="gameKeyword">
							<input type="submit" value="搜索">
						</form>
					</div>
					<div class="add">
						<input type="button" value="添加">
						<input type="button" value="批量删除">
					</div>
				</div>
				<div class="show">
					<table>
						<tr class="checkAll">
							<td>
								<input type="checkbox" name="game" value="gameAll">
							</td>
							<td>赛季</td>
							<td>球队A</td>
							<td>球队B</td>
							<td>第一场A</td>
							<td>第一场B</td>
							<td>第二场A</td>
							<td>第二场B</td>
							<td>第三场A</td>
							<td>第三场B</td>
							<td>第四场A</td>
							<td>第四场B</td>
							<td>快攻A</td>
							<td>快攻B</td>
							<td>禁区A</td>
							<td>禁区B</td>
							<td>失误A</td>
							<td>失误B</td>
							<td>场地</td>
							<td>时间</td>
							<td>操作</td>
						</tr>
						<c:forEach items="${game.data }" var="game" varStatus="status">
							<tr>
							<td>
								<input type="checkbox" name="game" value="${game.scheduleId }">
							</td>
							<td title="${game.seasonName}">${game.seasonName}</td>
							<td title="${game.ateamName}">${game.ateamName}</td>
							<td title="${game.bteamName}">${game.bteamName}</td>
							<td title="${game.afirstNum}">${game.afirstNum}</td>
							<td title="${game.bfirstNum}">${game.bfirstNum}</td>
							<td title="${game.asecondNum}">${game.asecondNum}</td>
							<td title="${game.bsecondNum}">${game.bsecondNum}</td>
							<td title="${game.athirdNum}">${game.athirdNum}</td>
							<td title="${game.bthirdNum}">${game.bthirdNum}</td>
							<td title="${game.afourthNum}">${game.afourthNum}</td>
							<td title="${game.bfourthNum}">${game.bfourthNum}</td>
							<td title="${game.afastbreakScore}">${game.afastbreakScore}</td>
							<td title="${game.afastbreakScore}">${game.afastbreakScore}</td>
							<td title="${game.arestrictedScore}">${game.arestrictedScore}</td>
							<td title="${game.brestrictedScore}">${game.brestrictedScore}</td>
							<td title="${game.afaultScore}">${game.afaultScore}</td>
							<td title="${game.bfaultScore}">${game.bfaultScore}</td>
							<td title="${game.field}">${game.field}</td>
							<td title="${game.scheduleTime}">${game.scheduleTime}</td>
							<td>
								<a href="gameModify.jsp?seasonId=${game.seasonId}&ateamName=${game.ateamName}&bteamName=${game.bteamName}&afirstNum=${game.afirstNum}&bfirstNum=${game.bfirstNum}&asecondNum=${game.asecondNum}&bsecondNum=${game.bsecondNum}&athirdNum=${game.athirdNum}&bthirdNum=${game.bthirdNum}&afourthNum=${game.afourthNum}&bfourthNum=${game.bfourthNum}&afastbreakScore=${game.afastbreakScore}&bfastbreakScore=${game.bfastbreakScore}&arestrictedScore=${game.arestrictedScore}&brestrictedScore=${game.brestrictedScore}&afaultScore=${game.afaultScore}&bfaultScore=${game.bfaultScore}&field=${game.field}&scheduleTime=${game.scheduleTime}&scheduleId=${game.scheduleId}">修改</a>
								<a href="gameServlet.do?opt=0&scheduleId=${game.scheduleId }">删除</a>
							</td>
							</tr>
						</c:forEach>
						
					</table>
				</div>
				<div class="paging">
					<c:if test="${game.totalPageNum>0}">
						<a href="SearchServlet.do?gamePageNum=1&gameKeyword=${param.gameKeyword}" class="home">首页</a>
					</c:if>
					<c:if test="${game.hasPrev}">
						<a href="SearchServlet.do?gamePageNum=${game.pageNum-1}&gameKeyword=${param.gameKeyword}" class="last">上一页</a>
					</c:if>
					<c:forEach begin="1" end="${game.totalPageNum}" varStatus="status">
						<c:if test="${game.pageNum eq status.count}">
							<a href="SearchServlet.do?gamePageNum=${status.count}&gameKeyword=${param.gameKeyword}"  class="ahover">${status.count}</a>
						</c:if>
						<c:if test="${game.pageNum != status.count}">
							<a href="SearchServlet.do?gamePageNum=${status.count}&gameKeyword=${param.gameKeyword}">${status.count}</a>
						</c:if>
					</c:forEach>
					<c:if test="${game.hasNext}">
						<a href="SearchServlet.do?gamePageNum=${game.pageNum+1}&gameKeyword=${param.gameKeyword}" class="next">下一页</a>
					</c:if>
					<c:if test="${game.totalPageNum>0}">
						<a href="SearchServlet.do?gamePageNum=${game.totalPageNum}&gameKeyword=${param.gameKeyword}" class="end">尾页</a><br>
					</c:if>
				</div>
			</div>
			<div class="bottom_right tdate">
				<div class="bottom_right_top">
					<div class = "search">
						<form action="SearchServlet.do" method="post">
							<input type="text" placeholder="请输入你要搜索的内容" name="tdateKeyword">
							<input type="submit" value="搜索">
						</form>
					</div>
					<div class="add">
						<input type="button" value="添加">
						<input type="button" value="批量删除">
					</div>
				</div>
				<div class="show">
					<table>
						<tr class="checkAll">
							<td>
								<input type="checkbox" name="tdate" value="tdateAll">
							</td>
							<td>球队</td>
							<td>时间</td>
							<td>命中</td>
							<td>出手</td>
							<td>三分命中</td>
							<td>三分出手</td>
							<td>罚球命中</td>
							<td>罚球出手</td>
							<td>进攻</td>
							<td>防守</td>
							<td>得分</td>
							<td>篮板</td>
							<td>助攻</td>
							<td>抢断</td>
							<td>盖帽</td>
							<td>失误</td>
							<td>犯规</td>
							<td>赛季</td>
							<td>操作</td>
						</tr>
						<c:forEach items="${tdate.data }" var="tdate" varStatus="status">
							<tr>
							<td>
								<input type="checkbox" name="tdate" value="${tdate.tdateId }">
							</td>
							<td title="${tdate.teamName}">${tdate.teamName}</td>
							<td title="${tdate.tdateTime}">${tdate.tdateTime}</td>
							<td title="${tdate.allHit}">${tdate.allHit}</td>
							<td title="${tdate.allMove}">${tdate.allMove}</td>
							<td title="${tdate.threeHit}">${tdate.threeHit}</td>
							<td title="${tdate.threeMove}">${tdate.threeMove}</td>
							<td title="${tdate.freeHit}">${tdate.freeHit}</td>
							<td title="${tdate.freeMove}">${tdate.freeMove}</td>
							<td title="${tdate.attack}">${tdate.attack}</td>
							<td title="${tdate.defeanse}">${tdate.defeanse}</td>
							<td title="${tdate.score}">${tdate.score}</td>
							<td title="${tdate.backboard}">${tdate.backboard}</td>
							<td title="${tdate.assists}">${tdate.assists}</td>
							<td title="${tdate.snatch}">${tdate.snatch}</td>
							<td title="${tdate.nutcap}">${tdate.nutcap}</td>
							<td title="${tdate.fault}">${tdate.fault}</td>
							<td title="${tdate.breakrules}">${tdate.breakrules}</td>
							<td title="${tdate.seasonName}">${tdate.seasonName}</td>
							<td>
								<a href="tdateModify.jsp?teamName=${tdate.teamName}&tdateTime=${tdate.tdateTime}&allHit=${tdate.allHit}&allMove=${tdate.allMove}&threeHit=${tdate.threeHit}&threeMove=${tdate.threeMove}&freeHit=${tdate.freeHit }&freeMove=${tdate.freeMove }&attack=${tdate.attack}&defeanse=${tdate.defeanse}&score=${tdate.score}&backboard=${tdate.backboard}&assists=${tdate.assists}&snatch=${tdate.snatch}&nutcap=${tdate.nutcap}&fault=${tdate.fault}&breakrules=${tdate.breakrules}&seasonId=${tdate.seasonId}&tdateId=${tdate.tdateId}">修改</a>
								<a href="tdateServlet.do?opt=0&tdateId=${tdate.tdateId }">删除</a>
							</td>
							</tr>
						</c:forEach>
						
					</table>
				</div>
				<div class="paging">
					<c:if test="${tdate.totalPageNum>0}">
						<a href="SearchServlet.do?tdatePageNum=1&tdateKeyword=${param.tdateKeyword}" class="home">首页</a>
					</c:if>
					<c:if test="${tdate.hasPrev}">
						<a href="SearchServlet.do?tdatePageNum=${tdate.pageNum-1}&tdateKeyword=${param.tdateKeyword}" class="last">上一页</a>
					</c:if>
					<c:forEach begin="1" end="${tdate.totalPageNum}" varStatus="status">
						<c:if test="${tdate.pageNum eq status.count}">
							<a href="SearchServlet.do?tdatePageNum=${status.count}&tdateKeyword=${param.tdateKeyword}"  class="ahover">${status.count}</a>
						</c:if>
						<c:if test="${tdate.pageNum != status.count}">
							<a href="SearchServlet.do?tdatePageNum=${status.count}&tdateKeyword=${param.tdateKeyword}">${status.count}</a>
						</c:if>
					</c:forEach>
					<c:if test="${tdate.hasNext}">
						<a href="SearchServlet.do?tdatePageNum=${tdate.pageNum+1}&tdateKeyword=${param.tdateKeyword}" class="next">下一页</a>
					</c:if>
					<c:if test="${tdate.totalPageNum>0}">
						<a href="SearchServlet.do?tdatePageNum=${tdate.totalPageNum}&tdateKeyword=${param.tdateKeyword}" class="end">尾页</a><br>
					</c:if>
				</div>
			</div>
			<div class="bottom_right pdate">
				<div class="bottom_right_top">
					<div class = "search">
						<form action="SearchServlet.do" method="post">
							<input type="text" placeholder="请输入你要搜索的内容" name="pdateKeyword">
							<input type="submit" value="搜索">
						</form>
					</div>
					<div class="add">
						<input type="button" value="添加">
						<input type="button" value="批量删除">
					</div>
				</div>
				<div class="show">
					<table>
						<tr class="checkAll">
							<td>
								<input type="checkbox" name="pdate" value="pdateAll">
							</td>
							<td>球员</td>
							<td>日期</td>
							<td>对手</td>
							<td>先发</td>
							<td>时间</td>
							<td>命中</td>
							<td>出手</td>
							<td>三分命中</td>
							<td>三分出手</td>
							<td>罚球命中</td>
							<td>罚球出手</td>
							<td>进攻</td>
							<td>防守</td>
							<td>得分</td>
							<td>篮板</td>
							<td>助攻</td>
							<td>抢断</td>
							<td>盖帽</td>
							<td>失误</td>
							<td>犯规</td>
							<td>赛季</td>
							<td>操作</td>
						</tr>
						<c:forEach items="${pdate.data }" var="pdate" varStatus="status">
							<tr>
							<td>
								<input type="checkbox" name="pdate" value="${pdate.pdateId }">
							</td>
							<td title="${pdate.playerName}">${pdate.playerName}</td>
							<td title="${pdate.playerDate}">${pdate.playerDate}</td>
							<td title="${pdate.rteamName}">${pdate.rteamName}</td>
							<td title="${pdate.startNum}">${pdate.startNum}</td>
							<td title="${pdate.pdateTime}">${pdate.pdateTime}</td>
							<td title="${pdate.allHit}">${pdate.allHit}</td>
							<td title="${pdate.allMove}">${pdate.allMove}</td>
							<td title="${pdate.threeHit}">${pdate.threeHit}</td>
							<td title="${pdate.threeMove}">${pdate.threeMove}</td>
							<td title="${pdate.freeHit}">${pdate.freeHit}</td>
							<td title="${pdate.freeMove}">${pdate.freeMove}</td>
							<td title="${pdate.attack}">${pdate.attack}</td>
							<td title="${pdate.defeanse}">${pdate.defeanse}</td>
							<td title="${pdate.score}">${pdate.score}</td>
							<td title="${pdate.backboard}">${pdate.backboard}</td>
							<td title="${pdate.assists}">${pdate.assists}</td>
							<td title="${pdate.snatch}">${pdate.snatch}</td>
							<td title="${pdate.nutcap}">${pdate.nutcap}</td>
							<td title="${pdate.fault}">${pdate.fault}</td>
							<td title="${pdate.breakrules}">${pdate.breakrules}</td>
							<td title="${pdate.seasonName}">${pdate.seasonName}</td>
							<td>
								<a href="pdateModify.jsp?playerName=${pdate.playerName }&playerDate=${pdate.playerDate }&rteamName=${pdate.rteamName}&startNum=${pdate.startNum }&pdateTime=${pdate.pdateTime}&allHit=${pdate.allHit}&allMove=${pdate.allMove}&threeHit=${pdate.threeHit}&threeMove=${pdate.threeMove}&freeHit=${pdate.freeHit }&freeMove=${pdate.freeMove }&attack=${pdate.attack}&defeanse=${pdate.defeanse}&score=${pdate.score}&backboard=${pdate.backboard}&assists=${pdate.assists}&snatch=${pdate.snatch}&nutcap=${pdate.nutcap}&fault=${pdate.fault}&breakrules=${pdate.breakrules}&seasonId=${pdate.seasonId}&pdateId=${pdate.pdateId}">修改</a>
								<a href="pdateServlet.do?opt=0&pdateId=${pdate.pdateId }">删除</a>
							</td>
							</tr>
						</c:forEach>
					</table>
				</div>
				<div class="paging">
					<c:if test="${pdate.totalPageNum>0}">
						<a href="SearchServlet.do?pdatePageNum=1&pdateKeyword=${param.pdateKeyword}" class="home">首页</a>
					</c:if>
					<c:if test="${pdate.hasPrev}">
						<a href="SearchServlet.do?pdatePageNum=${pdate.pageNum-1}&pdateKeyword=${param.pdateKeyword}" class="last">上一页</a>
					</c:if>
					<c:forEach begin="1" end="${pdate.totalPageNum}" varStatus="status">
						<c:if test="${pdate.pageNum eq status.count}">
							<a href="SearchServlet.do?pdatePageNum=${status.count}&pdateKeyword=${param.pdateKeyword}"  class="ahover">${status.count}</a>
						</c:if>
						<c:if test="${pdate.pageNum != status.count}">
							<a href="SearchServlet.do?pdatePageNum=${status.count}&pdateKeyword=${param.pdateKeyword}">${status.count}</a>
						</c:if>
					</c:forEach>
					<c:if test="${pdate.hasNext}">
						<a href="SearchServlet.do?pdatePageNum=${pdate.pageNum+1}&pdateKeyword=${param.pdateKeyword}" class="next">下一页</a>
					</c:if>
					<c:if test="${pdate.totalPageNum>0}">
						<a href="SearchServlet.do?pdatePageNum=${pdate.totalPageNum}&pdateKeyword=${param.pdateKeyword}" class="end">尾页</a><br>
					</c:if>
				</div>
			</div>
			<div class="bottom_right hot">
				<div class="bottom_right_top">
					<div class = "search">
						<form action="SearchServlet.do" method="post">
							<input type="text" placeholder="请输入你要搜索的内容" name="hotKeyword">
							<input type="submit" value="搜索">
						</form>
					</div>
					<div class="add">
						<input type="button" value="添加">
						<input type="button" value="批量删除">
					</div>
				</div>
				<div class="show">
					<table>
						<tr class="checkAll">
							<td>
								<input type="checkbox" name="hot" value="hotAll">
							</td>
							<td>球员</td>
							<td>一区</td>
							<td>二区</td>
							<td>三区</td>
							<td>四区</td>
							<td>五区</td>
							<td>六区</td>
							<td>七区</td>
							<td>八区</td>
							<td>九区</td>
							<td>十区</td>
							<td>十一区</td>
							<td>十二区</td>
							<td>十三区</td>
							<td>十四区</td>
							<td>赛季</td>
							<td>日期</td>
							<td>操作</td>
						</tr>
						<c:forEach items="${hot.data }" var="hot" varStatus="status">
							<tr>
							<td>
								<input type="checkbox" name="pdate" value="${hot.hotspotId }">
							</td>
							<td title="${hot.playerName}">${hot.playerName}</td>
							<td title="${hot.hotspotOne}">${hot.hotspotOne}</td>
							<td title="${hot.hotspotTwo}">${hot.hotspotTwo}</td>
							<td title="${hot.hotspotThree}">${hot.hotspotThree}</td>
							<td title="${hot.hotspotFour}">${hot.hotspotFour}</td>
							<td title="${hot.hotspotFive}">${hot.hotspotFive}</td>
							<td title="${hot.hotspotSix}">${hot.hotspotSix}</td>
							<td title="${hot.hotspotSeven}">${hot.hotspotSeven}</td>
							<td title="${hot.hotspotEight}">${hot.hotspotEight}</td>
							<td title="${hot.hotspotNine}">${hot.hotspotNine}</td>
							<td title="${hot.hotspotTen}">${hot.hotspotTen}</td>
							<td title="${hot.hotspotEleven}">${hot.hotspotEleven}</td>
							<td title="${hot.hotspotTwelve}">${hot.hotspotTwelve}</td>
							<td title="${hot.hotspotThirteen}">${hot.hotspotThirteen}</td>
							<td title="${hot.hotspotFourteen}">${hot.hotspotFourteen}</td>
							<td title="${hot.seasonName}">${hot.seasonName}</td>
							<td title="${hot.hotspotDate}">${hot.hotspotDate}</td>
							<td>
								<a href="hotModify.jsp?playerName=${hot.playerName }&hotspotOne=${hot.hotspotOne }&hotspotTwo=${hot.hotspotTwo}&hotspotThree=${hot.hotspotThree }&hotspotFour=${hot.hotspotFour}&hotspotFive=${hot.hotspotFive }&hotspotSix=${hot.hotspotSix}&hotspotSeven=${hot.hotspotSeven }&hotspotEight=${hot.hotspotEight}&hotspotNine=${hot.hotspotNine }&hotspotTen=${hot.hotspotTen}&hotspotEleven=${hot.hotspotEleven }&hotspotTwelve=${hot.hotspotTwelve}&hotspotThirteen=${hot.hotspotThirteen }&hotspotFourteen=${hot.hotspotFourteen}&seasonId=${hot.seasonId}&hotspotDate=${hot.hotspotDate}&hotspotId=${hot.hotspotId }">修改</a>
								<a href="hotServlet.do?opt=0&hotspotId=${hot.hotspotId }">删除</a>
							</td>
							</tr>
						</c:forEach>
						
						
					</table>
				</div>
				<div class="paging">
					<c:if test="${hot.totalPageNum>0}">
						<a href="SearchServlet.do?hotPageNum=1&hotKeyword=${param.hotKeyword}" class="home">首页</a>
					</c:if>
					<c:if test="${hot.hasPrev}">
						<a href="SearchServlet.do?hotPageNum=${hot.pageNum-1}&hotKeyword=${param.hotKeyword}" class="last">上一页</a>
					</c:if>
					<c:forEach begin="1" end="${hot.totalPageNum}" varStatus="status">
						<c:if test="${hot.pageNum eq status.count}">
							<a href="SearchServlet.do?hotPageNum=${status.count}&hotKeyword=${param.hotKeyword}"  class="ahover">${status.count}</a>
						</c:if>
						<c:if test="${hot.pageNum != status.count}">
							<a href="SearchServlet.do?hotPageNum=${status.count}&hotKeyword=${param.hotKeyword}">${status.count}</a>
						</c:if>
					</c:forEach>
					<c:if test="${hot.hasNext}">
						<a href="SearchServlet.do?hotPageNum=${hot.pageNum+1}&hotKeyword=${param.hotKeyword}" class="next">下一页</a>
					</c:if>
					<c:if test="${hot.totalPageNum>0}">
						<a href="SearchServlet.do?hotPageNum=${hot.totalPageNum}&hotKeyword=${param.hotKeyword}" class="end">尾页</a><br>
					</c:if>
				</div>
			</div>
			
			<div class="bottom_right new">
				<div class="bottom_right_top">
					<div class = "search">
						<form action="">
							<input type="text" placeholder="请输入你要搜索的内容">
							<input type="submit" value="搜索">
						</form>
					</div>
					<div class="add">
						<input type="button" value="添加">
						<input type="button" value="批量删除">
					</div>
				</div>
				<div class="show">
					<table>
						<tr>
							<td>
								<input type="checkbox" name="new" value="newAll">
							</td>
							<td>主题</td>
							<td>正文</td>
							<td>时间</td>
							<td>配图地址</td>
							<td>新闻类型</td>
							<td>操作</td>
						</tr>
						<tr>
							<td>
								<input type="checkbox" name="video" value="videoAll">
							</td>
							<td>标题</td>
							<td>描述</td>
							<td>时间</td>
							<td>视频地址</td>
							<td>视频类型</td>
							<td>
								<a href="">修改</a>
								<a href="">删除</a>
							</td>
						</tr>
						<c:forEach items="${news }" var="news">
							<tr>
								<td>
									<input type="checkbox" name="new" value="${news.newId }">
								</td>
								<td title="${news.newTheme })">${news.newTheme}</td>
								<td>${news.newContent}</td>
								<td>${news.newTime}</td>
								<td>${news.newUrl}</td>
								<td>${news.typeId}</td>
								<td>
									<a href="">修改</a>
									<a href="">删除</a>
								</td>
							</tr>
						</c:forEach>
						
						
					</table>
				</div>
				<div class="paging">
					<a href="" class="home">首页</a>
					<a href="" class="last">上一页</a>
					<a href="">1</a>
					<a href="">2</a>
					<a href="" class="next">下一页</a>
					<a href="" class="end" >尾页</a>
				</div>
			</div>
			<div class="bottom_right video">
				<div class="bottom_right_top">
					<div class = "search">
						<form action="">
							<input type="text" placeholder="请输入你要搜索的内容">
							<input type="submit" value="搜索">
						</form>
					</div>
					<div class="add">
						<input type="button" value="添加">
						<input type="button" value="批量删除">
					</div>
				</div>
				<div class="show">
					<table>
						<tr>
							<td>
								<input type="checkbox" name="video" value="videoAll">
							</td>
							<td>标题</td>
							<td>描述</td>
							<td>时间</td>
							<td>视频地址</td>
							<td>视频类型</td>
							<td>操作</td>
						</tr>
						<tr>
							<td>
								<input type="checkbox" name="video" value="videoAll">
							</td>
							<td>标题</td>
							<td>描述</td>
							<td>时间</td>
							<td>视频地址</td>
							<td>视频类型</td>
							<td>
								<a href="">修改</a>
								<a href="">删除</a>
							</td>
						</tr>
						<c:forEach items="${video }" var="video">
							<tr>
							<td>
								<input type="checkbox" name="video" value="${video.videoId }">
							</td>
							<td>${video.videoTheme}</td>
							<td>${video.videoContent}</td>
							<td>${video.videoTime}</td>
							<td>${video.videoUrl}</td>
							<td>${video.typeId}</td>
							<td>
								<a href="">修改</a>
								<a href="">删除</a>
							</td>
							</tr>
						</c:forEach>
						
					</table>
				</div>
				<div class="paging">
					<a href="" class="home">首页</a>
					<a href="" class="last">上一页</a>
					<a href="">1</a>
					<a href="">2</a>
					<a href="" class="next">下一页</a>
					<a href="" class="end" >尾页</a>
				</div>
			</div>
			<div class="bottom_right img">
				<div class="bottom_right_top">
					<div class = "search">
						<form action="">
							<input type="text" placeholder="请输入你要搜索的内容">
							<input type="submit" value="搜索">
						</form>
					</div>
					<div class="add">
						<input type="button" value="添加">
						<input type="button" value="批量删除">
					</div>
				</div>
				<div class="show">
					<table>
						<tr>
							<td>
								<input type="checkbox" name="img" value="imgAll">
							</td>
							<td>标题</td>
							<td>描述</td>
							<td>时间</td>
							<td>图集地址</td>
							<td>图集类型</td>
							<td>操作</td>
						</tr>
						<tr>
							<td>
								<input type="checkbox" name="video" value="videoAll">
							</td>
							<td>标题</td>
							<td>描述</td>
							<td>时间</td>
							<td>视频地址</td>
							<td>视频类型</td>
							<td>
								<a href="">修改</a>
								<a href="">删除</a>
							</td>
						</tr>
						<c:forEach items="${atlas }" var="atlas">
							<tr>
							<td>
								<input type="checkbox" name="img" value="${atlas.atlasId }">
							</td>
							<td>${atlas.atlasTheme}</td>
							<td>${atlas.atlasContent}</td>
							<td>${atlas.atlasTime}</td>
							<td>${atlas.atlasUrl}</td>
							<td>${atlas.typeId}</td>
							<td>
								<a href="">修改</a>
								<a href="">删除</a>
							</td>
							</tr>
						</c:forEach>
						
						
						
					</table>
				</div>
				<div class="paging">
					<a href="" class="home">首页</a>
					<a href="" class="last">上一页</a>
					<a href="">1</a>
					<a href="">2</a>
					<a href="" class="next">下一页</a>
					<a href="" class="end" >尾页</a>
				</div>
			</div>
			<div class="bottom_right admin">
				<div class="bottom_right_top">
					<div class = "search">
						<form action="">
							<input type="text" placeholder="请输入你要搜索的内容">
							<input type="submit" value="搜索">
						</form>
					</div>
					<div class="add">
						<input type="button" value="添加">
						<input type="button" value="批量删除">
					</div>
				</div>
				<div class="show">
					<table>
						<tr>
							<td>
								<input type="checkbox" name="admin" value="adminAll">
							</td>
							<td>用户名</td>
							<td>密码</td>
							<td>头像</td>
							<td>操作</td>
						</tr>
						<tr>
							<td>
								<input type="checkbox" name="admin" value="admin1">
							</td>
							<td>用户名</td>
							<td>密码</td>
							<td>头像</td>
							<td>
								<a href="">修改</a>
								<a href="">删除</a>
							</td>
						</tr>
						
						
					</table>
				</div>
				<div class="paging">
					<a href="" class="home">首页</a>
					<a href="" class="last">上一页</a>
					<a href="">1</a>
					<a href="">2</a>
					<a href="" class="next">下一页</a>
					<a href="" class="end" >尾页</a>
				</div>
			</div>
		</div>
	</div>
	<style type="text/css">
		*{
			margin: 0px;
			padding: 0px;
		}
		.teamAdd,.teamModify{
			padding: 20px;
			background-color: #fff;
			box-sizing: border-box;
			position: absolute;
			opacity: 0.97;
			z-index: 9999;
			border: 3px solid #2464b5;
			display:none;
		}
		.teamAdd>p,.teamModify>p{
			display: inline-block;
			width: 100%;
			position: relative;
		}
		.teamAdd>p span,.teamModify>p span{
			display: inline-block;
			float: right;
			color: #bbb;
			position: absolute;
			bottom: 0px;
			right: 0px;
			cursor: pointer;
		}
		.teamAdd>p span:hover,.teamModify>p span:hover{
			color: red;
		}
		.teamAdd table,.teamModify table{
			margin: 20px auto;
		}
		.teamAdd table tr td:nth-of-type(1),.teamModify table tr td:nth-of-type(1){
			text-align: right;
		}
		#file{
			display: none;
		}
		.teamAdd form p,.teamModify form p{
			text-align: right;
		}
		.teamAdd form p input,.teamModify form p input{
			background-color:#ccc;
			color: #2464b5;
			font-weight: bold;
			box-sizing: border-box;
			margin-right:10px;
		}
		.teamAdd form p input:hover,.teamModify form p input:hover{
			background-color:#2464b5;
			color: #fff;
		}
		/*球员添加*/
		.playerAdd,.playerModify{
			padding: 15px;
			background-color: #fff;
			box-sizing: border-box;
			position: absolute;
			opacity: 0.97;
			z-index: 9999;
			border: 3px solid #2464b5;
			display:none;
		}
		.playerAdd>p,.playerModify>p{
			display: inline-block;
			width: 100%;
			position: relative;
		}
		.playerAdd>p span,.playerModify>p span{
			display: inline-block;
			float: right;
			color: #bbb;
			position: absolute;
			bottom: 0px;
			right: 0px;
			cursor: pointer;
		}
		.playerAdd>p span:hover,.playerModify>p span:hover{
			color: red;
		}
		.playerAdd table,.playerModify table{
			margin: 10px auto;
		}
		.playerAdd table tr td:nth-of-type(1),.playerModify table tr td:nth-of-type(1){
			text-align: right;
		}
		.playerAdd form p,.playerModify form p{
			text-align: right;
		}
		.playerAdd form p input,.playerModify form p input{
			background-color:#ccc;
			color: #2464b5;
			font-weight: bold;
			box-sizing: border-box;
			margin-right:10px;
		}
		.playerAdd form p input:hover,.playerModify form p input:hover{
			background-color:#2464b5;
			color: #fff;
		}
		/*赛程*/
		.gameAdd,.gameModify{
			padding: 15px;
			background-color: #fff;
			box-sizing: border-box;
			position: absolute;
			opacity: 0.97;
			z-index: 9999;
			border: 3px solid #2464b5;
			display:none;
		}
		.gameAdd>p,.gameModify>p{
			display: inline-block;
			width: 100%;
			position: relative;
		}
		.gameAdd>p span,.gameModify>p span{
			display: inline-block;
			float: right;
			color: #bbb;
			position: absolute;
			bottom: 0px;
			right: 0px;
			cursor: pointer;
		}
		.gameAdd>p span:hover,.gameModify>p span:hover{
			color: red;
		}
		.gameAdd table,.gameModify table{
			margin: 5px auto;
		}
		.gameAdd table tr td:nth-of-type(1),.gameModify table tr td:nth-of-type(1){
			text-align: right;
		}
		.gameAdd form p,.gameModify form p{
			text-align: right;
		}
		.gameAdd form p input,.gameModify form p input{
			background-color:#ccc;
			color: #2464b5;
			font-weight: bold;
			box-sizing: border-box;
			margin-right:10px;
		}
		.gameAdd form p input:hover,.gameModify form p input:hover{
			background-color:#2464b5;
			color: #fff;
		}
		/*球队数据*/
		.tdateAdd,.tdateModify{
			padding: 15px;
			background-color: #fff;
			box-sizing: border-box;
			position: absolute;
			opacity: 0.97;
			z-index: 9999;
			border: 3px solid #2464b5;
			display:none;
		}
		.tdateAdd>p,.tdateModify>p{
			display: inline-block;
			width: 100%;
			position: relative;
		}
		.tdateAdd>p span,.tdateModify>p span{
			display: inline-block;
			float: right;
			color: #bbb;
			position: absolute;
			bottom: 0px;
			right: 0px;
			cursor: pointer;
		}
		.tdateAdd>p span:hover,.tdateModify>p span:hover{
			color: red;
		}
		.tdateAdd table,.tdateModify table{
			margin: 15px auto;
		}
		.tdateAdd table tr td:nth-of-type(1),.tdateModify table tr td:nth-of-type(1){
			text-align: right;
		}
		.tdateAdd form p,.tdateModify form p{
			text-align: right;
		}
		.tdateAdd form p input,.tdateModify form p input{
			background-color:#ccc;
			color: #2464b5;
			font-weight: bold;
			box-sizing: border-box;
			margin-right:10px;
		}
		.tdateAdd form p input:hover,.tdateModify form p input:hover{
			background-color:#2464b5;
			color: #fff;
		}
		/*球员数据*/
		.pdateAdd,.pdateModify{
			padding: 10px;
			background-color: #fff;
			box-sizing: border-box;
			position: absolute;
			opacity: 0.97;
			z-index: 9999;
			border: 3px solid #2464b5;
			display:none;
		}
		.pdateAdd>p,.pdateModify>p{
			display: inline-block;
			width: 100%;
			position: relative;
		}
		.pdateAdd>p span,.pdateModify>p span{
			display: inline-block;
			float: right;
			color: #bbb;
			position: absolute;
			bottom: 0px;
			right: 0px;
			cursor: pointer;
		}
		.pdateAdd>p span:hover,.pdateModify>p span:hover{
			color: red;
		}
		.pdateAdd table,.pdateModify table{
			margin: 10px auto;
		}
		.pdateAdd table tr td:nth-of-type(1),.pdateModify table tr td:nth-of-type(1){
			text-align: right;
		}
		.pdateAdd form p,.pdateModify form p{
			text-align: right;
		}
		.pdateAdd form p input,.pdateModify form p input{
			background-color:#ccc;
			color: #2464b5;
			font-weight: bold;
			box-sizing: border-box;
			margin-right:10px;
		}
		.pdateAdd form p input:hover,.pdateModify form p input:hover{
			background-color:#2464b5;
			color: #fff;
		}
		/*热区*/
		.hotAdd,.hotModify{
			padding: 15px;
			background-color: #fff;
			box-sizing: border-box;
			position: absolute;
			opacity: 0.97;
			z-index: 9999;
			border: 3px solid #2464b5;
			display:none;
		}
		.hotAdd>p,.hotModify>p{
			display: inline-block;
			width: 100%;
			position: relative;
		}
		.hotAdd>p span,.hotModify>p span{
			display: inline-block;
			float: right;
			color: #bbb;
			position: absolute;
			bottom: 0px;
			right: 0px;
			cursor: pointer;
		}
		.hotAdd>p span:hover,.hotModify>p span:hover{
			color: red;
		}
		.hotAdd table,.hotModify table{
			margin: 15px auto;
		}
		.hotAdd table tr td:nth-of-type(1),.hotModify table tr td:nth-of-type(1){
			text-align: right;
		}
		.hotAdd form p,.hotModify form p{
			text-align: right;
		}
		.hotAdd form p input,.hotModify form p input{
			background-color:#ccc;
			color: #2464b5;
			font-weight: bold;
			box-sizing: border-box;
			margin-right:10px;
		}
		.hotAdd form p input:hover,.hotModify form p input:hover{
			background-color:#2464b5;
			color: #fff;
		}
	/*新闻*/
		.newAdd,.newModify{
			padding: 20px;
			background-color: #fff;
			box-sizing: border-box;
			position: absolute;
			opacity: 0.97;
			z-index: 9999;
			border: 3px solid #2464b5;
			display:none;
		}
		.newAdd>p,.newModify>p{
			display: inline-block;
			width: 100%;
			position: relative;
		}
		.newAdd>p span,.newModify>p span{
			display: inline-block;
			float: right;
			color: #bbb;
			position: absolute;
			bottom: 0px;
			right: 0px;
			cursor: pointer;
		}
		.newAdd>p span:hover,.newModify>p span:hover{
			color: red;
		}
		.newAdd table,.newModify table{
			margin: 20px auto;
		}
		.newAdd table tr td:nth-of-type(1),.newModify table tr td:nth-of-type(1){
			text-align: right;
		}
		.newAdd form p,.newModify form p{
			text-align: right;
		}
		.newAdd form p input,.newModify form p input{
			background-color:#ccc;
			color: #2464b5;
			font-weight: bold;
			box-sizing: border-box;
			margin-right:10px;
		}
		.newAdd form p input:hover,.newModify form p input:hover{
			background-color:#2464b5;
			color: #fff;
		}
		/*视频*/
		.videoAdd,.videoModify{
			padding: 20px;
			background-color: #fff;
			box-sizing: border-box;
			position: absolute;
			opacity: 0.97;
			z-index: 9999;
			border: 3px solid #2464b5;
			display:none;
		}
		.videoAdd>p,.videoModify>p{
			display: inline-block;
			width: 100%;
			position: relative;
		}
		.videoAdd>p span,.videoModify>p span{
			display: inline-block;
			float: right;
			color: #bbb;
			position: absolute;
			bottom: 0px;
			right: 0px;
			cursor: pointer;
		}
		.videoAdd>p span:hover,.videoModify>p span:hover{
			color: red;
		}
		.videoAdd table,.videoModify table{
			margin: 20px auto;
		}
		.videoAdd table tr td:nth-of-type(1),.videoModify table tr td:nth-of-type(1){
			text-align: right;
		}
		.videoAdd form p,.videoModify form p{
			text-align: right;
		}
		.videoAdd form p input,.videoModify form p input{
			background-color:#ccc;
			color: #2464b5;
			font-weight: bold;
			box-sizing: border-box;
			margin-right:10px;
		}
		.videoAdd form p input:hover,.videoModify form p input:hover{
			background-color:#2464b5;
			color: #fff;
		}
		/*图集*/
		.imgAdd,.imgModify{
			padding: 20px;
			background-color: #fff;
			box-sizing: border-box;
			position: absolute;
			opacity: 0.97;
			z-index: 9999;
			border: 3px solid #2464b5;
			display:none;
		}
		.imgAdd>p,.imgModify>p{
			display: inline-block;
			width: 100%;
			position: relative;
		}
		.imgAdd>p span,.imgModify>p span{
			display: inline-block;
			float: right;
			color: #bbb;
			position: absolute;
			bottom: 0px;
			right: 0px;
			cursor: pointer;
		}
		.imgAdd>p span:hover,.imgModify>p span:hover{
			color: red;
		}
		.imgAdd table,.imgModify table{
			margin: 20px auto;
		}
		.imgAdd table tr td:nth-of-type(1),.imgModify table tr td:nth-of-type(1){
			text-align: right;
		}
		.imgAdd form p,.imgModify form p{
			text-align: right;
		}
		.imgAdd form p input,.imgModify form p input{
			background-color:#ccc;
			color: #2464b5;
			font-weight: bold;
			box-sizing: border-box;
			margin-right:10px;
		}
		.imgAdd form p input:hover,.imgModify form p input:hover{
			background-color:#2464b5;
			color: #fff;
		}				
		/*用户*/
		.adminAdd,.adminModify{
			padding: 20px;
			background-color: #fff;
			box-sizing: border-box;
			position: absolute;
			opacity: 0.97;
			z-index: 9999;
			border: 3px solid #2464b5;
			display:none;
		}
		.adminAdd>p,.adminModify>p{
			display: inline-block;
			width: 100%;
			position: relative;
		}
		.adminAdd>p span,.adminModify>p span{
			display: inline-block;
			float: right;
			color: #bbb;
			position: absolute;
			bottom: 0px;
			right: 0px;
			cursor: pointer;
		}
		.adminAdd>p span:hover,.adminModify>p span:hover{
			color: red;
		}
		.adminAdd table,.adminModify table{
			margin: 20px auto;
		}
		.adminAdd table tr td:nth-of-type(1),.adminModify table tr td:nth-of-type(1){
			text-align: right;
		}
		.adminAdd form p,.adminModify form p{
			text-align: right;
		}
		.adminAdd form p input,.adminModify form p input{
			background-color:#ccc;
			color: #2464b5;
			font-weight: bold;
			box-sizing: border-box;
			margin-right:10px;
		}
		.adminAdd form p input:hover,.adminModify form p input:hover{
			background-color:#2464b5;
			color: #fff;
		}				
	</style>
	<!-- 球队添加 -->
	<div class="teamAdd">
		<p>
			新增球队
			<span>×</span>
		</p>
		<form action="TeamServlet.do?opt=1" method="post" enctype="multipart/form-data">
			<table>
				<tr>
					<td>球队:</td>
					<td><input type="text" name="addteamName"></td>
				</tr>
				<tr>
					<td>城市:</td>
					<td><input type="text" name="addteamRegion"></td>
				</tr>
				<tr class="fileTr">
					<td>队徽:</td>
					<td>
						<input type="file" name="addteamimg" id="file" onchange="showPic(this)">
						<img src="images/add.jpg" id="addImg" onclick="fileClick(this)">
					</td>
				</tr>
				<tr>
					<td>主教练:</td>
					<td><input type="text" name="addCoach"></td>
				</tr>
				<tr>
					<td>球馆:</td>
					<td><input type="text" name="addStadium"></td>
				</tr>
				<tr>
					<td>联盟:</td>
					<td>
						<select id="union" name="union">
							<option value="0">-请选择-</option>
						</select></td>
				</tr>
				<tr>
					<td>分区:</td>
					<td>
						<select id="partition" name="partition">
							<option value="0">-请选择-</option>
						</select>
					</td>
				</tr>

			</table>
			<p class="submitP">
				<input type="button" value="取消">
				<input type="submit" value="确定">
			</p>
		</form>	
	</div>
	<!--球员-->
	<div class="playerAdd">
		<p>
			新增球员
			<span>×</span>
		</p>
		<form action="playerServlet.do?opt=1" method="post" enctype="multipart/form-data">
			<table>
				<tr>
					<td>球员:</td>
					<td><input type="text" name="addplayerName"></td>
				</tr>
				<tr>
					<td>英文名:</td>
					<td><input type="text" name="addplayerEName"></td>
				</tr>
				<tr class="fileTr">
					<td>头像:</td>
					<td>
						<input type="file" name="addplayerTitle" id="file" onchange="showPic(this)">
						<img src="images/add.jpg" id="addImg" onclick="fileClick(this)">
					</td>
				</tr>
				<tr class="fileTr">
					<td>全身照:</td>
					<td>
						<input type="file" name="addplayerBody" id="file" onchange="showPic(this)">
						<img src="images/add.jpg" id="addImg" onclick="fileClick(this)">
					</td>
				</tr>
				<tr>
					<td>球队:</td>
					<td><input type="text" name="addteamName"></td>
				</tr>
				<tr>
					<td>位置:</td>
					<td><input type="text" name="addPosition"></td>
				</tr>
				<tr>
					<td>身高:</td>
					<td><input type="number" name="addHeight" step="0.01"></td>
				</tr>
				<tr>
					<td>体重:</td>
					<td><input type="number" name="addWeight" step="0.01"></td>
				</tr>
				<tr>
					<td>球号:</td>
					<td><input type="number" name="addplayerNum"></td>
				</tr>
				<tr>
					<td>国籍:</td>
					<td><input type="text" name="addNation"></td>
				</tr>
				<tr>
					<td>生日:</td>
					<td><input type="date" name="addplayerDate"></td>
				</tr>
				<tr>
					<td>选秀:</td>
					<td><input type="number" name="addDraft"  oninput="if(this.value>=2050) this.value = 2050;if(this.value<=1919) this.value = 1919"></td>
				</tr>
				<tr>
					<td>经验:</td>
					<td><input type="number" name="addExp"></td>
				</tr>
				<tr>
					<td>NBA前:</td>
					<td><input type="text" name="addBefore"></td>
				</tr>
				<tr>
					<td>类型:</td>
					<td>
						<select name="ptype">
							<option value="0" selected="selected">-请选择-</option>
							<option value="4">现役</option>
							<option value="5">退役</option>	
							<option value="6">历史</option>
						</select>
					</td>
				</tr>
			</table>
			<p class="submitP">
				<input type="button" value="取消">
				<input type="submit" value="确定">
			</p>
		</form>	
	</div>
	<!-- 赛程 -->
	<div class="gameAdd">
		<p>
			新增赛事
			<span>×</span>
		</p>
		<form action="gameServlet.do?opt=1" method="post">
			<table>
				<tr>
					<td>赛季:</td>
					<td>
						<select name="season">
							<option value="0" selected="selected">-请选择-</option>
							<option value="1">季前赛</option>
							<option value="2">季后赛</option>
							<option value="3">常规赛</option>
						</select>
					</td>
				</tr>
				<tr>
					<td>球队A:</td>
					<td><input type="text" name="ateamName"></td>
				</tr>
				<tr>
					<td>球队B:</td>
					<td><input type="text" name="bteamName"></td>
				</tr>
				<tr>
					<td>第一场A:</td>
					<td><input type="number" name="afirstNum"></td>
				</tr>
				<tr>
					<td>第一场B:</td>
					<td><input type="number" name="bfirstNum"></td>
				</tr>
				<tr>
					<td>第二场A:</td>
					<td><input type="number" name="asecondNum"></td>
				</tr>
				<tr>
					<td>第二场B:</td>
					<td><input type="number" name="bsecondNum"></td>
				</tr>
				<tr>
					<td>第三场A:</td>
					<td><input type="number" name="athirdNum"></td>
				</tr>
				<tr>
					<td>第三场B:</td>
					<td><input type="number" name="bthirdNum"></td>
				</tr>
				<tr>
					<td>第四场A:</td>
					<td><input type="number" name="afourthNum"></td>
				</tr>
				<tr>
					<td>第四场B:</td>
					<td><input type="number" name="bfourthNum"></td>
				</tr>
				<tr>
					<td>快攻A:</td>
					<td><input type="number" name="afastbreakScore"></td>
				</tr>
				<tr>
					<td>快攻B:</td>
					<td><input type="number" name="bfastbreakScore"></td>
				</tr>
				<tr>
					<td>禁区A:</td>
					<td><input type="number" name="arestrictedScore"></td>
				</tr>
				<tr>
					<td>禁区B:</td>
					<td><input type="number" name="brestrictedScore"></td>
				</tr>
				<tr>
					<td>失误A:</td>
					<td><input type="number" name="afaultScore"></td>
				</tr>
				<tr>
					<td>失误B:</td>
					<td><input type="number" name="bfaultScore"></td>
				</tr>
				<tr>
					<td>场地:</td>
					<td><input type="text" name="field"></td>
				</tr>
				<tr>
					<td>时间:</td>
					<td><input type="datetime-local" name="scheduleTime"></td>
				</tr>

			</table>
			<p class="submitP">
				<input type="button" name="" value="取消">
				<input type="submit" name="" value="确定">
			</p>
		</form>	
	</div>
	<!-- 球队数据 -->
	<div class="tdateAdd">
		<p>
			新增数据
			<span>×</span>
		</p>
		<form action="tdateServlet.do?opt=1" method="post">
			<table>
				<tr>
					<td>球队:</td>
					<td><input type="text" name="teamName">
				</tr>
				<tr>
					<td>时间:</td>
					<td><input type="datetime-local" name="tdateTime">
				</tr>
				<tr>
					<td>命中:</td>
					<td><input type="number" name="allHit">
				</tr>
				<tr>
					<td>出手:</td>
					<td><input type="number" name="allMove">
				</tr>
				<tr>
					<td>三分命中:</td>
					<td><input type="number" name="threeHit">
				</tr>
				<tr>
					<td>三分出手:</td>
					<td><input type="number" name="threeMove">
				</tr>
				<tr>
					<td>罚球命中:</td>
					<td><input type="number" name="freeHit">
				</tr>
				<tr>
					<td>罚球出手:</td>
					<td><input type="number" name="freeMove">
				</tr>
				<tr>
					<td>进攻:</td>
					<td><input type="number" name="attack">
				</tr>
				<tr>
					<td>防守:</td>
					<td><input type="number" name="defeanse">
				</tr>
				<tr>
					<td>得分:</td>
					<td><input type="number" name="score">
				</tr>
				<tr>
					<td>篮板:</td>
					<td><input type="number" name="backboard">
				</tr>
				<tr>
					<td>助攻:</td>
					<td><input type="number" name="assists">
				</tr>
				<tr>
					<td>抢断:</td>
					<td><input type="number" name="snatch">
				</tr>
				<tr>
					<td>盖帽:</td>
					<td><input type="number" name="nutcap">
				</tr>
				<tr>
					<td>失误:</td>
					<td><input type="number" name="fault">
				</tr>
				<tr>
					<td>犯规:</td>
					<td><input type="number" name="breakrules">
				</tr>
				<tr>
					<td>赛季:</td>
					<td>
						<select name="seasonId">
							<option value="0" selected="selected">-请选择-</option>
							<option value="1">季前赛</option>
							<option value="2">季后赛</option>
							<option value="3">常规赛</option>
						</select>
					</td>
				</tr>
			</table>
			<p class="submitP">
				<input type="button" name="" value="取消">
				<input type="submit" name="" value="确定">
			</p>
		</form>	
	</div>
	<!-- 球员数据 -->
	<div class="pdateAdd">
		<p>
			新增数据
			<span>×</span>
		</p>
		<form action="pdateServlet.do?opt=1" method="post">
			<table>						
					<tr>	
						<td>球员:</td>
						<td><input type="text" name="playerName"></td>
					</tr>
					<tr>	
						<td>日期:</td>
						<td><input type="datetime-local" name="playerDate"></td>
					</tr>
					<tr>	
						<td>对手:</td>
						<td><input type="text" name="rteamName"></td>
					</tr>
					<tr>	
						<td>先发:</td>
						<td>
							<select name="startNum">
								<option value="2" selected="selected">-请选择-</option>
								<option value="1">是</option>
								<option value="0">否</option>
							</select>
						</td>
					</tr>
					<tr>	
						<td>时间:</td>
						<td><input type="number" name="pdateTime" step="0.01"></td>
					</tr>
					<tr>
					<td>命中:</td>
					<td><input type="number" name="allHit" >
				</tr>
				<tr>
					<td>出手:</td>
					<td><input type="number" name="allMove" >
				</tr>
				<tr>
					<td>三分命中:</td>
					<td><input type="number" name="threeHit">
				</tr>
				<tr>
					<td>三分出手:</td>
					<td><input type="number" name="threeMove">
				</tr>
				<tr>
					<td>罚球命中:</td>
					<td><input type="number" name="freeHit">
				</tr>
				<tr>
					<td>罚球出手:</td>
					<td><input type="number" name="freeMove">
				</tr>
				<tr>
					<td>进攻:</td>
					<td><input type="number" name="attack">
				</tr>
				<tr>
					<td>防守:</td>
					<td><input type="number" name="defeanse">
				</tr>
				<tr>
					<td>得分:</td>
					<td><input type="number" name="score">
				</tr>
				<tr>
					<td>篮板:</td>
					<td><input type="number" name="backboard">
				</tr>
				<tr>
					<td>助攻:</td>
					<td><input type="number" name="assists">
				</tr>
				<tr>
					<td>抢断:</td>
					<td><input type="number" name="snatch" >
				</tr>
				<tr>
					<td>盖帽:</td>
					<td><input type="number" name="nutcap" >
				</tr>
				<tr>
					<td>失误:</td>
					<td><input type="number" name="fault" >
				</tr>
				<tr>
					<td>犯规:</td>
					<td><input type="number" name="breakrules">
				</tr>
				<tr>
					<td>赛季:</td>
					<td>
						<select name="seasonId">
							<option value="0" selected="selected">-请选择-</option>
							<option value="1">季前赛</option>
							<option value="2">季后赛</option>
							<option value="3">常规赛</option>
						</select>
					</td>
				</tr>
			</table>
			<p class="submitP">
				<input type="button" name="" value="取消">
				<input type="submit" name="" value="确定">
			</p>
		</form>	
	</div>
	<!-- 热区 -->
	<div class="hotAdd">
		<p>
			新增热区
			<span>×</span>
		</p>
		<form action="hotServlet.do?opt=1" method="post">
			<table>						
				<tr>	
					<td>球员:</td>
					<td><input type="text" name="playerName"></td>
				</tr>
				<tr>	
					<td>一区:</td>
					<td><input type="number" name="hotspotOne" step="0.01"></td>
				</tr>
				<tr>	
					<td>二区:</td>
					<td><input type="number" name="hotspotTwo"  step="0.01"></td>
				</tr>
				<tr>	
					<td>三区:</td>
					<td><input type="number" name="hotspotThree" step="0.01"></td>
				</tr>
				<tr>	
					<td>四区:</td>
					<td><input type="number" name="hotspotFour" step="0.01"></td>
				</tr>
				<tr>	
					<td>五区:</td>
					<td><input type="number" name="hotspotFive" step="0.01"></td>
				</tr>
				<tr>	
					<td>六区:</td>
					<td><input type="number" name="hotspotSix" step="0.01"></td>
				</tr>
				<tr>	
					<td>七区:</td>
					<td><input type="number" name="hotspotSeven" step="0.01"></td>
				</tr>
				<tr>	
					<td>八区:</td>
					<td><input type="number" name="hotspotEight" step="0.01"></td>
				</tr>
				<tr>	
					<td>九区:</td>
					<td><input type="number" name="hotspotNine" step="0.01"></td>
				</tr>
				<tr>	
					<td>十区:</td>
					<td><input type="number" name="hotspotTen" step="0.01"></td>
				</tr>
				<tr>	
					<td>十一区:</td>
					<td><input type="number" name="hotspotEleven" step="0.01"></td>
				</tr>
				<tr>	
					<td>十二区:</td>
					<td><input type="number" name="hotspotTwelve" step="0.01"></td>
				</tr>
				<tr>	
					<td>十三区:</td>
					<td><input type="number" name="hotspotThirteen" step="0.01"></td>
				</tr>
				<tr>	
					<td>十四区:</td>
					<td><input type="number" name="hotspotFourteen" step="0.01"></td>
				</tr>
				<tr>	
					<td>赛季:</td>
					<td><select name="seasonId">
							<option value="0" selected>-请选择-</option>
							<option value="1">季前赛</option>
							<option value="2">季后赛</option>
							<option value="3">常规赛</option>
						</select>
					</td>
				</tr>	
				<tr>	
					<td>日期:</td>
					<td><input type="number" name="hotspotDate" oninput="if(this.value>=2050) this.value = 2050;if(this.value<=2000) this.value = 2000"></td>
				</tr>
			</table>
			<p class="submitP">
				<input type="button" name="" value="取消">
				<input type="submit" name="" value="确定">
			</p>
		</form>	
	</div>	
	<!-- 新闻 -->
	<div class="newAdd">
		<p>
			新增新闻
			<span>×</span>
		</p>
		<form action="">
			<table>						
					<tr>
						<td>主题:</td>
						<td><input type="text"></td>
					</tr>
					<tr>
						<td>正文:</td>
						<td><textarea name=""></textarea></td>
					</tr>
					<tr>
						<td>时间:</td>
						<td><input type="text"></td>
					</tr>
					<tr class="fileTr">
						<td>配图:</td>
						<td>
							<input type="file" name="" id="file" onchange="showPic(this)">
							<img src="images/add.jpg" id="addImg" onclick="fileClick(this)">
							<input type="file" name="" id="file" onchange="showPic(this)">
							<img src="images/add.jpg" id="addImg" onclick="fileClick(this)">
							<input type="file" name="" id="file" onchange="showPic(this)">
							<img src="images/add.jpg" id="addImg" onclick="fileClick(this)">
							<input type="file" name="" id="file" onchange="showPic(this)">
							<img src="images/add.jpg" id="addImg" onclick="fileClick(this)">
						</td>	
					</tr>
					<tr>
						<td>新闻类型:</td>
						<td>
							<select name="type">
									<option value="0" selected>-请选择-</option>
									<option value="1">其他</option>
									<option value="2">不止篮球</option>
									<option value="3">NBA休赛观察期</option>
							</select>
						</td>	
					</tr>			
			</table>
			<p class="submitP">
				<input type="button" name="" value="取消">
				<input type="submit" name="" value="确定">
			</p>
		</form>	
	</div>
	<!-- 视频 -->
	<div class="videoAdd">
		<p>
			新增视频
			<span>×</span>
		</p>
		<form action="">
			<table>						
					<tr>
						<td>主题:</td>
						<td><input type="text"></td>
					</tr>
					<tr>
						<td>正文:</td>
						<td><textarea name=""></textarea></td>
					</tr>
					<tr>
						<td>时间:</td>
						<td><input type="text"></td>
					</tr>
					<tr class="fileTr">
						<td>视频:</td>
						<td>
							<input type="file" name="" id="file" onchange="showPic(this)">
							<img src="images/add.jpg" id="addImg" onclick="fileClick(this)">
						</td>	
					</tr>
					<tr>
						<td>视频类型:</td>
						<td>
							<select name="type">
									<option value="0" selected>-请选择-</option>
									<option value="1">其他</option>
									<option value="2">不止篮球</option>
									<option value="3">NBA休赛观察期</option>
							</select>
						</td>	
					</tr>			
			</table>
			<p class="submitP">
				<input type="button" name="" value="取消">
				<input type="submit" name="" value="确定">
			</p>
		</form>	
	</div>		
	<!-- 图集 -->
	<div class="imgAdd">
		<p>
			新增图集
			<span>×</span>
		</p>
		<form action="">
			<table>						
					<tr>
						<td>主题:</td>
						<td><input type="text"></td>
					</tr>
					<tr>
						<td>正文:</td>
						<td><textarea name=""></textarea></td>
					</tr>
					<tr>
						<td>时间:</td>
						<td><input type="text"></td>
					</tr>
					<tr class="fileTr">
						<td>配图:</td>
						<td>
							<input type="file" name="" id="file" onchange="showPic(this)">
							<img src="images/add.jpg" id="addImg" onclick="fileClick(this)">
							<input type="file" name="" id="file" onchange="showPic(this)">
							<img src="images/add.jpg" id="addImg" onclick="fileClick(this)">
							<input type="file" name="" id="file" onchange="showPic(this)">
							<img src="images/add.jpg" id="addImg" onclick="fileClick(this)">
							<input type="file" name="" id="file" onchange="showPic(this)">
							<img src="images/add.jpg" id="addImg" onclick="fileClick(this)">
						</td>	
					</tr>
					<tr>
						<td>图集类型:</td>
						<td>
							<select name="type">
									<option value="0" selected>-请选择-</option>
									<option value="1">其他</option>
									<option value="2">不止篮球</option>
									<option value="3">NBA休赛观察期</option>
							</select>
						</td>	
					</tr>			
			</table>
			<p class="submitP">
				<input type="button" name="" value="取消">
				<input type="submit" name="" value="确定">
			</p>
		</form>	
	</div>
	
	<!-- 用户 -->
	<div class="adminAdd">
		<p>
			新增用户
			<span>×</span>
		</p>
		<form action="">
			<table>						
					<tr>
						<td>用户名:</td>
						<td><input type="text"></td>
					</tr>
					<tr>
						<td>密码:</td>
						<td><input type="text"></td>
					</tr>
					<tr class="fileTr">
						<td>头像:</td>
						<td>
							<input type="file" name="" id="file" onchange="showPic(this)">
							<img src="images/add.jpg" id="addImg" onclick="fileClick(this)">
						</td>	
					</tr>
							
			</table>
			<p class="submitP">
				<input type="button" name="" value="取消">
				<input type="submit" name="" value="确定">
			</p>
		</form>	
	</div>
		
</body>
<script type="text/javascript" src="JS/jquery.js"></script>
<script type="text/javascript" src="JS/bghome.js"></script>
<script type="text/javascript">
	function $$(id){
		return document.getElementById(id);
	}
	function fileClick(o){
		o.previousElementSibling.click();
	}
	var unionArrays = new Array();
	unionArrays["东部"]=["东南","大西洋","中央"];
	unionArrays["西部"]=["西南","西北","太平洋"];
	
	window.onload=init();
	function init(){
		for(var i in unionArrays){
			$$("union").add(new Option(i,i),null);
		}
	}

	$$("union").onchange=function(){
		$$("partition").length= 1;
		var classVal =this.value;	
		for(var i in unionArrays){
			if(classVal == i){
				for(var j in unionArrays[i]){
					$$("partition").add(new Option(unionArrays[i][j],unionArrays[i][j]),null);//二维数组
				}
			}
		}
	}
	function showPic(obj) {
        var fileUrl = getObjectURL(obj.files[0]);

		console.log(fileUrl);
        if (fileUrl != null) {
            obj.nextElementSibling.src = fileUrl;
            
        }else{
        	 obj.nextElementSibling.src="images/add.jpg"
        }
    }
    //建立一个可存取到该file的url
    function getObjectURL(file) {
        var url = null;
        // 下面函数执行的效果是一样的，只是需要针对不同的浏览器执行不同的 js 函数而已
        if (window.createObjectURL != undefined) {   // basic
            url = window.createObjectURL(file);
        } else if (window.URL != undefined) {        // mozilla(firefox)
            url = window.URL.createObjectURL(file);
        } else if (window.webkitURL != undefined) {  // webkit or chrome
            url = window.webkitURL.createObjectURL(file) ;
        }
        return url;

      }
 

</script> 
</html>